package com.ttg.model.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author chenyou
 * @datetime 2025-10-16 11:25:24
 */
@Data
@TableName("tbl_cost_manage_merch_trade_month")
public class CostManageMerchTradeMonth implements Serializable {
    private static final long serialVersionUID = 248578312101453902L;

    @TableId(value = "mtm_id", type = IdType.AUTO)
    private Long mtmId;

    @TableField(value = "mtm_mct_no")
    private Long mtmMctNo;

    @TableField(value = "mtm_agent_no")
    private Long mtmAgentNo;

    @TableField(value = "mtm_org_no")
    private Long mtmOrgNo;

    @TableField(value = "mtm_interval_type")
    private String mtmIntervalType;

    @TableField(value = "mtm_year")
    private String mtmYear;

    @TableField(value = "mtm_month")
    private String mtmMonth;

    @TableField(value = "mtm_lower_bound")
    private String mtmLowerBound;

    @TableField(value = "mtm_upper_bound")
    private String mtmUpperBound;

    @TableField(value = "mtm_liveness_flag")
    private Integer mtmLivenessFlag;

    @TableField(value = "mtm_grading_no")
    private Integer mtmGradingNo;

    @TableField(value = "mtm_repair_cost")
    private BigDecimal mtmRepairCost;

    @TableField(value = "mtm_day_avg_amt")
    private BigDecimal mtmDayAvgAmt;

    @TableField(value = "mtm_clear_cost")
    private BigDecimal mtmClearCost;

    @TableField(value = "mtm_wan_yuan_repair_ratio")
    private BigDecimal mtmWanYuanRepairRatio;

    @TableField(value = "mtm_trade_amt")
    private BigDecimal mtmTradeAmt;

    @TableField(value = "mtm_credit_trade_amt")
    private BigDecimal mtmCreditTradeAmt;

    @TableField(value = "mtm_add_time")
    private LocalDateTime mtmAddTime;

    @TableField(value = "mtm_update_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime mtmUpdateTime;

}

